Release 10.1A: OpenEdge Development:
Progress 4GL Handbook


Resizing the browse

To let the user resize a browse, you set the browse's RESIZABLE and SELECTABLE attributes to TRUE, as the following code fragment shows:

ASSIGN CustBrowse:RESIZABLE = TRUE 
       CustBrowse:SELECTABLE = TRUE. 

To resize a browse through direct manipulation, the user clicks on the browse to display the resize handles, then drags a resize handle as desired.

To resize a browse programmatically, you set the browse’s WIDTH-CHARS or WIDTH-PIXELS, HEIGHT-CHARS or HEIGHT-PIXELS, or DOWN attributes as desired.

The following code fragment programmatically resizes a browse to 50 characters wide by 40 characters high:

ASSIGN CustBrowse:WIDTH-CHARS  = 50 
       CustBrowse:HEIGHT-CHARS = 40. 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095